Skip to main content
Version: 2.0.0

Deployment on SAP BTP Cloud Foundry

Deployment Steps

Step 1:  Build the Docker image
Step 2: Push the image to the container registry
Step 3: Deploy to Cloud Foundry:
cf push -f manifest.docker.yaml

Required Environment Variables

SAP AI Core Credentials

VariablePurpose
AICORE_AUTH_URLAuthentication endpoint for AI Core
AICORE_CLIENT_IDClient ID for AI Core OAuth
AICORE_CLIENT_SECRETClient secret for AI Core OAuth
AICORE_BASE_URLBase URL for AI Core API calls

SAP HANA DB Credentials

VariablePurpose
HANA_HOSTHANA database host address
HANA_PORTHANA database port
HANA_USERDatabase username
HANA_PASSWORDDatabase password
HANA_SCHEMATarget schema name

Tips & Best Practices

  1. Test locally before deploying
  2. Rotate credentials carefully
  3. Validate credentials before deployment
  4. Check /agents after registration

API Endpoints

MethodEndpointPurpose
POST/chat/querySend a query
POST/agents/registerRegister a new agent
GET/agentsList all registered agents
GET/docsInteractive Swagger API documentation